package com.kuang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kuang.pojo.Wuliu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Intellij IDEA.
 * User:  xsw
 * Date:  2020/8/1
 */
@Mapper
public interface WuliuMapper extends BaseMapper<Wuliu> {
    /**
     * 根据id查询
     * @param id
     * @return
     */
    Wuliu findWuliuById(Integer id);

    /**
     * 模糊查询name
      * @param name
     * @return
     */
    List<Wuliu> findWuliuByName(String name);
}
